//
//  ViewController.m
//  ColorPicker
//
//  Created by 赵俊明 on 2019/1/31.
//  Copyright © 2019 赵俊明. All rights reserved.
//

#import "ViewController.h"
#import <mastboard_colorPicker.h>
@interface ViewController ()

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    [JMColorContainer showColor:self.view closeBlock:^(BOOL isClose) {
        NSLog(@"关闭回调");
    } showValuesBlock:^(NSInteger number, BOOL isAlpha) {

    } colorValueBlock:^(UIColor * _Nonnull color) {
        self.view.backgroundColor = color;
    }];
    self.view.backgroundColor = [UIColor goldenrod];
}


@end
